const { setTimeout } = require("node:timers");


const waitForSeconds = (seconds)=>{
    return new Promise((resolve,reject)=>{
        setTimeout(()=>{
            resolve();
        },seconds*1000)
    })
}

const TaskEndEvent = 'taskend';

module.exports = {
    waitForSeconds,
    TaskEndEvent
}
